function Changetimetabs (e, SearchData)  {
	timecurrent = e.currentIndex;
	//今天
	if (e.currentIndex == 0) {
		seachtime.value = [new Date().toLocaleDateString(), new Date().toLocaleDateString()];
	}
	//最近一周
	else if (e.currentIndex == 1) {
		let date = new Date();
		let se = new Date(date.getTime() - 7 * 24 * 60 * 60 * 1000);
		seachtime.value = [se.toLocaleDateString(), date.toLocaleDateString()];
	}
	//最近30天
	else if (e.currentIndex == 2) {
		let date = new Date();
		let se = new Date(date.getTime() - 30 * 24 * 60 * 60 * 1000);
		seachtime.value = [se.toLocaleDateString(), date.toLocaleDateString()];
	}
	//最近90天
	else if (e.currentIndex == 3) {
		let date = new Date();
		let se = new Date(date.getTime() - 90 * 24 * 60 * 60 * 1000);
		seachtime.value = [se.toLocaleDateString(), date.toLocaleDateString()];
	}
	//所有
	else if (e.currentIndex == 4) {
		seachtime.value = ['', ''];
	}
	SearchData();
}
export default {
	Changetimetabs
}